Return

Edit Task: ResourceFormula

Description

The ResourceFormula attribute under EditTask defines the resources that this task uses.

Parameters

Parameter Description
CreateSTKAccessReport Options are "ExcludeSpaceToSpace", "TRUE", or "FALSE". If True is selected, then for each possibility, the default STK access report will be created and applied to that possibility for timeslot creation.
If ExcludeSpaceToSpace is selected, STK access reports between space objects will be excluded during timeslot creation.
Formula

A string of text of the entire formula. Each resource name must be enclosed in quotes. (ex. '"ResourceName" AND "ResourceNameB" AND ("ResourceNameC" OR "ResourceNameD")')

Resource tags are to be enclosed in square brackets. Different constraints are started with a # symbol and are described in more detail below. If no # is used the tag will default to a 1of constraint. For more info on constraint types see Resource Tag Constraint Editor.

  • When defining N resources with tag:
    • "[TagA#2]" will require two resources assigned to TagA
  • All resources with tag:
    • "[TagA#all]" will require all resources assigned to TagA
  • Template List from tag:
    • "[TagA#template]"
  • Resources that utilize all of a list of tags:
    • "[TagA+TagB#1]" will require 1 resource assigned to both TagA and TagB
  • Resources that utilize any of a list of tags:
    • "[TagA/TagB#1]" will require 1 resource assigned to either TagA or TagB
RetainSettings Optional boolean determining whether previous resouce usage definition values will be retained when creating possibilities

Examples

Allow a task to use either ResA or ResB.

PATCH api/task/TaskA

Body:

{

"ResourceFormula" : {

"Formula" : ""ResA" OR "ResB""

}